summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang, GaofengX <gaofengx.zhang@intel.com>2019-06-11 05:16:30 +0200
committerXihua Chen <xihua.chen@intel.com>2019-06-12 08:48:37 +0200
commit852d9fec6d5febc60641dfac60ea4b8f145f5b2f (patch)
treee470eec0499530bcb3c14e08f762351505a0308f
parentMerge "Add recovery_host_test to TEST_MAPPING." (diff)
downloadandroid_bootable_recovery-852d9fec6d5febc60641dfac60ea4b8f145f5b2f.tar
android_bootable_recovery-852d9fec6d5febc60641dfac60ea4b8f145f5b2f.tar.gz
android_bootable_recovery-852d9fec6d5febc60641dfac60ea4b8f145f5b2f.tar.bz2
android_bootable_recovery-852d9fec6d5febc60641dfac60ea4b8f145f5b2f.tar.lz
android_bootable_recovery-852d9fec6d5febc60641dfac60ea4b8f145f5b2f.tar.xz
android_bootable_recovery-852d9fec6d5febc60641dfac60ea4b8f145f5b2f.tar.zst
android_bootable_recovery-852d9fec6d5febc60641dfac60ea4b8f145f5b2f.zip
-rw-r--r--recovery_ui/ui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/recovery_ui/ui.cpp b/recovery_ui/ui.cpp
index b7107ff21..f1a79dcfd 100644
--- a/recovery_ui/ui.cpp
+++ b/recovery_ui/ui.cpp
@@ -419,7 +419,7 @@ void RecoveryUI::SetScreensaverState(ScreensaverState state) {
LOG(INFO) << "Brightness: " << brightness_normal_value_ << " (" << brightness_normal_
<< "%)";
} else {
- LOG(ERROR) << "Unable to set brightness to normal";
+ LOG(WARNING) << "Unable to set brightness to normal";
}
break;
case ScreensaverState::DIMMED:
@@ -429,7 +429,7 @@ void RecoveryUI::SetScreensaverState(ScreensaverState state) {
<< "%)";
screensaver_state_ = ScreensaverState::DIMMED;
} else {
- LOG(ERROR) << "Unable to set brightness to dim";
+ LOG(WARNING) << "Unable to set brightness to dim";
}
break;
case ScreensaverState::OFF:
@@ -437,7 +437,7 @@ void RecoveryUI::SetScreensaverState(ScreensaverState state) {
LOG(INFO) << "Brightness: 0 (off)";
screensaver_state_ = ScreensaverState::OFF;
} else {
- LOG(ERROR) << "Unable to set brightness to off";
+ LOG(WARNING) << "Unable to set brightness to off";
}
break;
default: